package com.mpyy.service.inventory;

import com.mpyy.pojo.DepotInfo;
import com.mpyy.pojo.InventoryCheck;
import com.mpyy.pojo.InventoryCheckDesc;
import com.mpyy.pojo.InventoryDesc;

import java.util.List;

public interface InventoryCheckServiceInter {
    List<InventoryDesc> searchCheck(String inveDescDepot);

    List<InventoryDesc> searchCheckId(String inveDescId);

    List<InventoryCheck> searchTakeStock();

    List<InventoryCheckDesc> searchTakeStockId(String invCheckId);
    List<InventoryCheckDesc> searchStatementyp(String invCheckId);
    int updateCommodity(String invCheckDescId);

    int updateInventoryList(String invCheckId);
    int updateInventory(String invCheckId);

    List<InventoryCheck> searchInventorySurpluslosses();

    List<InventoryCheckDesc> searchInventoryDesc(List <String> invCheckId);

    int updateInventoryCheckDesc(List <InventoryDesc> inventoryDescs);

    List<InventoryDesc> searchProidDesc(String inveDescBatchNum);

    List<InventoryCheckDesc> searchSta();

    int updateCheckDescId(String invCheckDescId);

    int updateInvenCheck(InventoryCheck inventoryCheck);

    List<DepotInfo> searchDepotInfowx();

    //根据商品编号查询商品库存
    List<InventoryDesc> searchDescProId(InventoryDesc inventoryDesc);

    //批量修改
    int updateInvenDesc(List <InventoryCheckDesc> inventoryDescs);

    int updateInvenCheckId(List <String> invCheckId);
    //查询已盘点商品
    List<InventoryCheckDesc> serchHaveInventory(List <InventoryCheckDesc> checkDescList);
    //修改盘点数量
    int updateCheckNum(List <InventoryDesc> inventoryDescs);
    List<InventoryCheckDesc> searchChane(List <String> invCheckId);
    int updateBreakage(InventoryCheckDesc inventoryCheckDescList);

    int updateOverflow(InventoryCheckDesc inventoryCheckDescList);
}
